﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace Game_MVC3.Models
{
    public class Player
    {

        [Key]
        public int ID { get; set; }

        [Required(ErrorMessage = "Player's Name cannot be empty")]
        public string Name { get; set; }

        [Required(ErrorMessage = "Player's Account cannot be empty")]
        public string Account { get; set; }

        

    }
}